import { Limits } from '@boticord/consts'
import { IsString, Length } from 'class-validator'
import { UpdateServerDto } from './update-server.dto'

export class CreateServerDto extends UpdateServerDto {
  @IsString()
  @Length(Limits.MinDiscordIdLength, Limits.MaxDiscordIdLength)
  declare id: string

  @IsString()
  declare token: string // cloudflare turnstile token
}
